CREATE TABLE [dbo].[TCPRRE_GAST]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[CO_UNID_CONC] [dbo].[TD_VC_003] NOT NULL,
[NU_PRRE_GAST] [dbo].[TD_VC_010] NOT NULL,
[FE_PRRE_GAST] [dbo].[TD_DT_001] NOT NULL,
[CO_EMPR_DEST] [dbo].[TD_VC_002] NULL,
[AA_OPER_DEST] [dbo].[TD_VC_004] NULL,
[MM_OPER_DEST] [dbo].[TD_VC_002] NULL,
[CO_BANC_DEST] [dbo].[TD_VC_003] NULL,
[NU_CNTA_DEST] [dbo].[TD_VC_020] NULL,
[CO_CAJA_DEST] [dbo].[TD_VC_008] NULL,
[NU_COMP_DEST] [dbo].[TD_VC_008] NULL,
[CO_GRUP_APRO] [dbo].[TD_VC_008] NULL,
[TI_ENTI_GENE] [dbo].[TD_VC_001] NOT NULL,
[CO_ENTI_GENE] [dbo].[TD_VC_020] NOT NULL,
[TI_ENTI_APRO] [dbo].[TD_VC_001] NOT NULL,
[CO_ENTI_APRO] [dbo].[TD_VC_020] NOT NULL,
[NU_REND_GAST] [dbo].[TD_VC_010] NULL,
[ST_APRO] [dbo].[TD_VC_001] NULL,
[DE_OBSE] [dbo].[TD_VC_100] NULL,
[TI_SITU] [dbo].[TD_VC_003] NOT NULL,
[TI_DOCU_ENRE] [dbo].[TD_VC_003] NULL,
[NU_DOCU_ENRE] [dbo].[TD_VC_020] NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TCPRRE_GA__CO_US__4589517F] DEFAULT (suser_sname()),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TCPRRE_GA__FE_US__467D75B8] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TCPRRE_GA__CO_US__477199F1] DEFAULT (suser_sname()),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TCPRRE_GA__FE_US__4865BE2A] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TCPRRE_GAST] ADD CONSTRAINT [PK__TCPRRE_G__774421D93A2D78C3] PRIMARY KEY CLUSTERED  ([CO_EMPR], [CO_UNID_CONC], [NU_PRRE_GAST], [FE_PRRE_GAST]) ON [PRIMARY]
GO
